﻿using Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Domain.Entity;

namespace Domain.Repository
{
	public interface IUserRepository
	{
		public List<User> SelectUser(User user);
		public List<User> UserGet();
		public bool UserDelete(User user);
		public bool UserUpdate(User user);
		public List<CPC> GetName(CPC cPCDto);
		public List<User> GetUsers(int id);
		public bool UserAdd(User user);

		public List<Roles> RolesSelect();
		bool AddRoles(Roles roles);
		bool DeleteRoles(int id);

		public List<Trees2> trees(string id);

		public List<Jurisdiction> trees2();

		Task<List<int>> selectRolesJurisdiction(int id);
		List<Roles> Shwo(int id);

		public Task<List<Jurisdiction>> JurisdictionList();

		bool UpdateRole(string RolesName, string RolesInstruction, int RolesIf, string JuriID, int RolesID);
	}
}
